package com.rem.pojo;

/**
 * @author remembrance
 * @version 1.0
 * @date 2021/10/12 11:29
 */
public class Baby {
    private String name;
    private double weight;
    private String sex;

    public Baby(String name, double weight, String sex) {
        this.name = name;
        this.weight = weight;
        this.sex = sex;
    }

    public Baby() {

    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getWeight() {
        return weight;
    }

    public void setWeight(double weight) {
        this.weight = weight;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex){
        
    }

    @Override
    public String toString() {
        return "Baby{" +
                "name=" + name +
                ", weight=" + weight +
                ", sex='" + sex + '\'' +
                '}';
    }
}
